以下是一个简洁现代的CSS样式方案，包含基础布局、输入框动画和按钮交互效果：

html
Copy Code
<style>
/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 表单容器 */
from {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
}

/* 标题样式 */
from::before {
  content: "教师信息";
  display: block;
  font-size: 1.8rem;
  color: #1a73e8;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

/* 输入组布局 */
input[type="text"] {
  width: 100%;
  padding: 12px;
  margin: 8px 0 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input[type="text"]:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.2);
  outline: none;
}

/* 标签样式 */
body > from > :is(:nth-child(1), :nth-child(3)) {
  color: #5f6368;
  font-weight: 500;
  font-size: 0.95rem;
}

/* 按钮容器 */
input[type="button"] {
  cursor: pointer;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* 提交按钮 */
input[type="button"][value="提交"] {
  background: #1a73e8;
  color: white;
  margin-right: 12px;
}

/* 返回按钮 */
input[type="button"][value="返回"] {
  background: #f1f3f4;
  color: #5f6368;
  border: 1px solid #dadce0;
}

/* 悬停效果 */
input[type="button"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

input[type="button"][value="提交"]:hover {
  background: #1557b0;
}

input[type="button"][value="返回"]:hover {
  background: #e8eaed;
}

/* 移动端适配 */
@media (max-width: 480px) {
  from {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  input[type="button"] {
    width: 100%;
    margin: 8px 0;
  }
}